-
-
Notifications
You must be signed in to change notification settings - Fork 836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore[test]: add test for address members' names as struct fields #3527
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3527 +/- ##
==========================================
+ Coverage 92.12% 92.14% +0.02%
==========================================
Files 119 119
Lines 16962 16962
Branches 2872 2872
==========================================
+ Hits 15626 15630 +4
Misses 919 919
+ Partials 417 413 -4 ☔ View full report in Codecov by Sentry. |
i think reserving those attributes to not be available on structs/enums is kind of ok. |
but yea, maybe it's useful sometimes to have structs with information like |
This reverts commit 9de0941.
…address_members_as_struct
@tserg could you update to the new kwarg syntax? |
…address_members_as_struct
Done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, tagging @cyberthirst to check as well
What I did
Fix #3521.
How I did it
Remove the
else
branch inparse_Attribute
so that structs can be catched.How to verify it
See test.
Commit message
Description for the changelog
Allow address members' names as struct fields.
Cute Animal Picture